From: Luc Teirlinck Date: Tue, 6 Jul 2004 17:50:32 +0000 (+0000) Subject: (Fclear_string): Put call to CHECK_STRING in correct place. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21715 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=36e4b1dcdbce71db605521b64d62aa30e65fbfd5;p=emacs.git (Fclear_string): Put call to CHECK_STRING in correct place. --- diff --git a/src/fns.c b/src/fns.c index cbd0dc91d2b..4dd04bf0b50 100644 --- a/src/fns.c +++ b/src/fns.c @@ -2370,8 +2370,8 @@ This makes STRING unibyte and may change its length. */) (string) Lisp_Object string; { - CHECK_STRING (string); int len = SBYTES (string); + CHECK_STRING (string); bzero (SDATA (string), len); STRING_SET_CHARS (string, len); STRING_SET_UNIBYTE (string);